/**
 * @brief 初始化的时候构造的App的组件
 */

#ifndef INIT_H
#define INIT_H
#include <QQmlApplicationEngine>
#include "iostream"
#include <QThread>
namespace IM_GUI_KIT {
    class Init
    {
    private:
        QQmlApplicationEngine *engine;
        QThread* backgroundThread;
        Init();
        Init(const Init &);
        Init & operator = (const Init &);
    public:

        ~Init();
        QQmlApplicationEngine *getEngine();
        QThread *getBackThread();
        static Init *Instance(){
            static Init init;
            return  &init;
        }
    };
}

#endif // INIT_H
